package com.fary.entity;

import java.util.List;

/**
 * @author Fary
 * @version 1.0
 * @description: TODO
 * @date 2021/10/11 9:35
 */
public class School {

    private String schoolName;
    private List<Student> students;

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public List<Student> getStudents() {
        return students;
    }

    public void setStudents(List<Student> students) {
        this.students = students;
    }

    @Override
    public String toString() {
        return "School{" +
                "schoolName='" + schoolName + '\'' +
                ", students=" + students +
                '}';
    }
}
